<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/include/taglibs.jsp"%>


<div id="left">
<h3>提交希望订阅的feed:</h3>
<form name="feed" method="post" action="newFeed.html">
<table class="detail">
	<tr>
		<th><label for="type">feed类型:</label></th>
		<td>
		<input type="radio" name="type" value="1">我的blog<br>
		<input type="radio" name="type" value="2" 
		<c:if test="${feedForm.tagStr!=null}">
					checked
			</c:if>	>开源软件站点的feed <span id="tag">--相关tag:<input type="text" size=16 name="tag" value="${feedForm.tagStr}"/><br></span>
		<input type="radio" name="type" value="3">我认为值得推荐的feed<br>
	</tr>
	<tr>
		<th><label for="url"> <fmt:message
			key="feedForm.feedUrl" />:</label></th>
		<td><input type="text" size=30 name="url"/>
			</td>
	</tr>
	<tr><th></th><td>如果feed属于以下网站，上面地址不必填写，在下面选择网站，填入网站的用户名即可</td></tr>
	<tr>
		<th><label for="name"><br><br><br>用户名:</label></th>
		<td>
		<input type="radio" name="site" value="1">blogjava<br>
		<input type="radio" name="site" value="2">msn<br>
		<input type="radio" name="site" value="3">feedburner<br>
		<input type="radio" name="site" value="4">csdn<br>
		<input type="text" name="name"/>
			</td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" class="button" name="save" value="提交" /> <input
			type="button" class="button" name="cancel" value="取消"
			onclick="javascript:history.back(-1)" /></td>
	</tr>
</table>
</form>
</div>

<div id="right">
<div class=sbjtd>
　　提示：如果是列举网站的Feed，可以进行选择，只需填入网站的用户名，我们会自动匹配feed地址：	
</div></div>

<script type="text/javascript">
    document.forms["feed"].elements["url"].focus();
</script>

<v:javascript formName="feed" staticJavascript="false" xhtml="true"
	cdata="false" />
<script type="text/javascript"
	src="<c:url value="/scripts/validator.jsp"/>"></script>
